<?php

class UserForm extends Zend_Form
{
	public  function __construct($options = NULL)
	{
		parent::__construct($options);
		$this->setName('FillForm');
		
		$id = new Zend_Form_Element_Hidden('id');
		
		$prName = new Zend_Form_Element_Text('projectName');
		$prName->setLabel('projectname')
			->setRequired(true)
			->addFilter('StripTags')
			->addFilter('StringTrim')
			->addValidator('NotEmpty');
			
		$results = new Zend_Form_Element_Text('results');
		$results->setLabel('results')
			->setRequired(true)
			->addFilter('StripTags')
			->addFilter('StringTrim')
			->addValidator('NotEmpty');	
			
		$submit = new Zend_Form_Element_Submit('submit');
		$submit->setAttrib('id', 'submitbutton');

		$this->addElements(array($id, $prName, $results, $submit));
	
	}
}